package com.freshman_registration.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class PaymentRecord {
    private Integer recordId;
    private String studentId;
    private Integer itemId;
    private String paymentStatus;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date paymentTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    private String itemName;      // 对应pi.item_name
    private String itemType;      // 对应pi.item_type
    private BigDecimal amount;    // 对应pi.amount
    private String endTime;       // 对应pi.end_time
    private String itemStatus;    // 对应pi.status（避免与其他status冲突）
}